Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support shiki@1.21.0 #25

Merged
merged 2 commits into from
Oct 2, 2024
Merged

fix: support shiki@1.21.0 #25

merged 2 commits into from
Oct 2, 2024

Conversation

sxzz
Copy link
Contributor

@sxzz sxzz commented Sep 30, 2024

In shiki@1.21.0, htmlStyle could be an object, which will caused style="[object Object]"

@sxzz
Copy link
Contributor Author

sxzz commented Sep 30, 2024

BTW shikijs/shiki@85a4ff9#diff-96b3a4e546aab442ecd44beeb7b18a42fd96bdf81aaa5264ed5242f62e463555 could be a breaking change, maybe consider to revert it?

@antfu antfu merged commit 5db556d into shikijs:main Oct 2, 2024
7 of 8 checks passed
@sxzz sxzz deleted the fix/shiki branch October 2, 2024 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants